import request from '@/utils/request'

// 交易大厅分页查询
export function tradePageByQo(params) {
  return request({
    url: '/dinner/trade/message/pageByQo',
    method: 'post',
    params
  })
}

// 交易大厅ID查询
export function tradeGetById(params) {
  return request({
    url: '/dinner/trade/message/getById',
    method: 'post',
    params
  })
}

// 交易大厅分页添加
export function saveTrade(params) {
  return request({
    url: '/dinner/trade/message/save',
    method: 'post',
    params
  })
}

// 交易大厅修改
export function updateTrade(params) {
  return request({
    url: '/dinner/trade/message/update',
    method: 'post',
    params
  })
}

// 交易大厅 删除
export function deleteTrade(params) {
  return request({
    url: '/dinner/trade/message/removeByIds',
    method: 'post',
    params
  })
}

// PC首页交易大厅分页查询
export function pcTradePageByQo(params) {
  return request({
    url: '/dinner/trade/message/main/pageByQo',
    method: 'post',
    params
  })
}